/**
 * This file is released under the GNU General Public License.
 * Refer to the COPYING file distributed with this package.
 *
 * Copyright (c) 2008-2009 WURFL-Pro srl
 */
package net.sourceforge.wurfl.core.resource;


/**
 * This interface represent a WURFL resource as the WURFL main file and a WURFL
 * patch file.
 * 
 * <p>
 * This interface provides a method to obtain data from physical resource as
 * File.
 * </p>
 * 
 * @author WURFL-PRO SRL, Rome, Italy
 * @version $Id: WURFLResource.java 1045 2009-03-09 15:52:53Z filippo.deluca $
 */
public interface WURFLResource {

	/**
	 * Return ResourceData representing the data contained by the resource.
	 * 
	 * @return ResourceData instance
	 */
	public ResourceData getData();

	/**
	 * Get info of this resource.
	 * 
	 * @return A String represent a info for this resource.
	 */
	public String getInfo();

	/**
	 * Release the resource.
	 */
	public void release();
}
